﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Mother.Master" AutoEventWireup="true"
    CodeBehind="DataAnalysis.aspx.cs" Inherits="WeiboFilter.DataAnalysis" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="Scripts/jquery-1.5.1.js" type="text/javascript"></script>
    <script src="Style/ui/jquery.ui.core.js" type="text/javascript"></script>
    <script src="Style/ui/jquery.ui.widget.js" type="text/javascript"></script>
    <script src="Style/ui/jquery.ui.tabs.js" type="text/javascript"></script>
    <link href="Style/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" />
    <link href="Style/demos.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(document).ready(function () {
            $("#tabs").tabs();
        });

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <h2>
            数据分析</h2>
        关键字好评榜、恶评榜，用户的好评率、恶评率
        <div id="tabs">
            <ul>
                <li><a href="#badWords">恶评关键字</a></li>
                <li><a href="#goodWords">好评关键字</a></li>
            </ul>
            <div id="badWords">
                <asp:Repeater ID="repKeyWords" runat="server">
                    <HeaderTemplate>
                        <table class="OrderTable">
                            <tr style="background-color: #696969; color: White;">
                                <th>
                                    恶评关键字
                                </th>
                                <th>
                                    积分
                                </th>
                                <th>
                                    出现次数
                                </th>
                            </tr>
                    </HeaderTemplate>
                    <AlternatingItemTemplate>
                        <tr style="background-color: Gainsboro;">
                            <td>
                                <asp:Label ID="OrderIdLabel" Text='<%# Eval("content") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="ProductLabel" Text='<%# Eval("point") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("times") %>'></asp:Label>
                            </td>
                        </tr>
                    </AlternatingItemTemplate>
                    <ItemTemplate>
                        <tr style="background-color: LightSteelBlue;">
                            <td>
                                <asp:Label ID="OrderIdLabel" Text='<%# Eval("content") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="ProductLabel" Text='<%# Eval("point") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("times") %>'></asp:Label>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
            <div id="goodWords">
                <asp:Repeater ID="Repeater1" runat="server">
                    <HeaderTemplate>
                        <table class="OrderTable">
                            <tr style="background-color: #696969; color: White;">
                                <th>
                                    好评关键字
                                </th>
                                <th>
                                    积分
                                </th>
                                <th>
                                    出现次数
                                </th>
                            </tr>
                    </HeaderTemplate>
                    <AlternatingItemTemplate>
                        <tr style="background-color: Gainsboro;">
                            <td>
                                <asp:Label ID="OrderIdLabel" Text='<%# Eval("content") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="ProductLabel" Text='<%# Eval("point") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("times") %>'></asp:Label>
                            </td>
                        </tr>
                    </AlternatingItemTemplate>
                    <ItemTemplate>
                        <tr style="background-color: LightSteelBlue;">
                            <td>
                                <asp:Label ID="OrderIdLabel" Text='<%# Eval("content") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="ProductLabel" Text='<%# Eval("point") %>' runat="server" />
                            </td>
                            <td>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("times") %>'></asp:Label>
                            </td>
                        </tr>
                    </ItemTemplate>
                    <FooterTemplate>
                        </table>
                    </FooterTemplate>
                </asp:Repeater>
            </div>
        </div>
    </div>
</asp:Content>